package com.xoms.admin.controller.res.bean;

import java.util.List;
import java.util.ArrayList;

/**
 * 返回商品详情信息
 **/
public class RProductDetailBean {
	private String pid; // 商品id
	private String name; // 商品名称
	private String productNo; // 商品编号
	private String productBar; // 商品条形码
	private String category; // 分类
	private String categoryArr; // 分类
	private String imgUrl; // 商品图片
	private String specs; // 商品规格
	private String unit; // 单位
	private String unitId; // 单位id
	private Double price; // 商品价格
	private String remark; // 备注
	private String account; // 操作人
	private String status; // 状态：1可售2可赠3可积分兑换。三个状态可同时：1，2，3
	private Integer warnNum; // 仓库预警数量
	private Integer costType; // 仓库成本核算方式：1加权平均、2先进先出、3手动指定方式
	private Integer maxNum; // 仓库最大容量
	private Integer saleStatus; // 商品状态：1在售0下架
	private Long startTime; // 商品状态开始时间
	private Long endTime; // 商品状态结束时间
	private Long createTime; // 创建时间,时间戳,精确到秒
	private List<RProGroupBean> groups; // 组合商品原料

	public void setPid(String pid) {
 		this.pid = pid;
	}

	public String getPid() {
 		return pid;
	}

	public void setName(String name) {
 		this.name = name;
	}

	public String getName() {
 		return name;
	}

	public void setProductNo(String productNo) {
 		this.productNo = productNo;
	}

	public String getProductNo() {
 		return productNo;
	}

	public void setProductBar(String productBar) {
 		this.productBar = productBar;
	}

	public String getProductBar() {
 		return productBar;
	}

	public void setCategory(String category) {
 		this.category = category;
	}

	public String getCategory() {
 		return category;
	}

	public void setCategoryArr(String categoryArr) {
 		this.categoryArr = categoryArr;
	}

	public String getCategoryArr() {
 		return categoryArr;
	}

	public void setImgUrl(String imgUrl) {
 		this.imgUrl = imgUrl;
	}

	public String getImgUrl() {
 		return imgUrl;
	}

	public void setSpecs(String specs) {
 		this.specs = specs;
	}

	public String getSpecs() {
 		return specs;
	}

	public void setUnit(String unit) {
 		this.unit = unit;
	}

	public String getUnit() {
 		return unit;
	}

	public void setUnitId(String unitId) {
 		this.unitId = unitId;
	}

	public String getUnitId() {
 		return unitId;
	}

	public void setPrice(Double price) {
 		this.price = price;
	}

	public Double getPrice() {
 		return price;
	}

	public void setRemark(String remark) {
 		this.remark = remark;
	}

	public String getRemark() {
 		return remark;
	}

	public void setAccount(String account) {
 		this.account = account;
	}

	public String getAccount() {
 		return account;
	}

	public void setStatus(String status) {
 		this.status = status;
	}

	public String getStatus() {
 		return status;
	}

	public void setWarnNum(Integer warnNum) {
 		this.warnNum = warnNum;
	}

	public Integer getWarnNum() {
 		return warnNum;
	}

	public void setCostType(Integer costType) {
 		this.costType = costType;
	}

	public Integer getCostType() {
 		return costType;
	}

	public void setMaxNum(Integer maxNum) {
 		this.maxNum = maxNum;
	}

	public Integer getMaxNum() {
 		return maxNum;
	}

	public void setSaleStatus(Integer saleStatus) {
 		this.saleStatus = saleStatus;
	}

	public Integer getSaleStatus() {
 		return saleStatus;
	}

	public void setStartTime(Long startTime) {
 		this.startTime = startTime;
	}

	public Long getStartTime() {
 		return startTime;
	}

	public void setEndTime(Long endTime) {
 		this.endTime = endTime;
	}

	public Long getEndTime() {
 		return endTime;
	}

	public void setCreateTime(Long createTime) {
 		this.createTime = createTime;
	}

	public Long getCreateTime() {
 		return createTime;
	}

	public void setGroups(List<RProGroupBean> groups) {
 		this.groups = groups;
	}

	public List<RProGroupBean> getGroups() {
 		return groups;
	}

}
